#include <stdio.h>

main()
{
    float x,y;
	printf("请输入浮点数x\n");
	scanf("%f",&x);
	printf("请输入浮点数y\n");
	scanf("%f",&y);
	printf("x+y=%f\n",x+y);
	printf("x-y=%f\n",x-y);
	printf("x*y=%f\n",x*y);
	printf("x/y=%f\n",x/y);
	printf("转换类型后的x%%y=%d\n",(int)x%(int)y);
}